﻿




using System.Collections.Generic;
using Hotpot.Infrastructure;
using Hotpot.Models;
using Hotpot.Modules.Blogs.Models;

namespace Hotpot.Modules.Blogs.Services
{
    public interface IBlogService
    {
        bool GetBlogExists(string blogName);
        Blog GetBlog(string blogName);
        IPageOfItems<Blog> GetBlogs(PagingInfo pagingInfo);
        IEnumerable<Blog> FindBlogs(BlogSearchCriteria criteria);
        ModelResult<Blog> AddBlog(BlogInput blogInput);
        ModelResult<Blog> EditBlog(Blog blog, BlogInput blogInput);
        ModelResult<Blog> EditBlog(Blog blog, BlogInputForImport blogInput);
        void RemoveBlog(Blog blog);
    }
}
